<route lang="yaml">
name: home
meta:
  title: 主页
</route>

<script setup>
const title = import.meta.env.VITE_APP_TITLE;
</script>

<template>
  <div class="text">
    {{ title }}
  </div>
</template>

<style lang="scss" scoped>
.text {
  font-size: 30px;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
</style>
